home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group94a.txt / 000131_icon-group-sender _Sat May 21 07:30:56 1994.msg < prev    next >
Internet Message Format  |  1994-08-19  |  3KB

  1. Received: by cheltenham.cs.arizona.edu; Sat, 21 May 1994 10:57:54 MST
  2. Date: Sat, 21 May 1994 07:30:56 -0600 (CST)
  3. From: Chris Tenaglia - 257-8765 <TENAGLIA@MIS.MCW.EDU>
  4. Subject: Re: How do I place a system editor in an icon region?
  5. To: rick@sparc.sandiegoca.ncr.com
  6. Cc: icon-group@cs.arizona.edu
  7. Message-Id: <01HCLCIE6EGI8WW2SH@mis.mcw.edu>
  8. Organization: Medical College of Wisconsin (Milwaukee, WI)
  9. X-Vms-To: IN%"rick@sparc.sandiegoca.ncr.com"
  10. X-Vms-Cc: IN%"icon-group@cs.arizona.edu"
  11. Mime-Version: 1.0
  12. Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
  13. Content-Transfer-Encoding: 7BIT
  14. Status: R
  15. Errors-To: icon-group-errors@cs.arizona.edu
  16.  
  17.  
  18. It sounds like Xwindows are present? I wrote an X-based menu that
  19. needs to do something like that too. Mine called different
  20. character based apps. Assuming you know what filename you want
  21. to edit, here's the code segment I'd use.
  22.  
  23.      command := "/usr/bin/X11/xterm -e /usr/ucb/vi " || filename || " &"
  24.      system(command)
  25.  
  26. I do this on a DEC ultrix unix system. My display is an Xterminal. This
  27. runs the editor on the file and when the editor is exited "ZZ", the
  28. spawned window disappears automatically.
  29.  
  30. Chris Tenaglia (System Manager) |  "The past explained,     
  31. Medical College of Wisconsin    |   the future fortold, 
  32. 8701 W. Watertown Plank Rd.     |   the present largely appologized for."
  33. Milwaukee, WI 53226             |   Organon to The Doctor
  34. (414)257-8765                   |     
  35. tenaglia@mis.mcw.edu
  36.  
  37. > From:    IN%"rick@sparc.sandiegoca.ncr.com"  "Richard Hernandez" 20-MAY-1994 18:02:25.04
  38. > To:    IN%"icon-group@cs.arizona.edu"
  39. > Subj:    How do I place a system editor in an icon region?
  40.  
  41. > Hi Group!
  42. > I have just installed icon 8.10 and built my first program.
  43. > For those of you that are interested, platforms are:
  44.  
  45. > MACHINE=NCR 3000 Family,  OS=NCR System V Release 4
  46. > MACHINE=Solbourne Series5 OS=Solbourne/Sun Microsystems sun4 4.1B
  47.  
  48. > I have a question on how to add a system editor (vi,emacs)
  49. > within an icon window, that is, frame an editor in icon. I
  50. > would prefer not using icon to create an editor (why re-invent
  51. > the wheel?). Any help would be appreciated.
  52. > -- 
  53. > I do not represent AT&T or NCR and all correspondance regarding
  54. > AT&T or NCR should be sent to those that do ...
  55.  
  56. >  _ __           Richard "Rick" Hernandez     MailStop: 1440
  57. > ' )  )      /   c/o AT&T GLOBAL INFORMATION SOLUTIONS
  58. >  /--' o _. /_   17095 VIA DEL CAMPO       PHONE:  (619) 485-3467
  59. > /  \_(_(__/ <_  SAN DIEGO  CA 92127-1711  FAX:    (619) 485-3367
  60. >                 E-MAIL:     Richard.Hernandez@SanDiegoCA.NCR.COM
  61.  
  62.